package com.stone.activemqcase.config;

import org.apache.activemq.broker.BrokerService;

public class EnbedBroker {
    public static void main(String[] args) throws Exception {
        BrokerService brokerService=new BrokerService();
        brokerService.setUseJmx(true);
        brokerService.addConnector("tcp://localhost/:61616");
        brokerService.start();
    }
}
